home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr31
/
arcid103.zip
/
SLOWDRV.BAT
< prev
Wrap
DOS Batch File
|
1993-05-09
|
607b
|
34 lines
@Echo off
cls
ARCID %1 ARJ SQZ ZIP
if errorlevel 98 goto OK
if errorlevel 3 goto ZIP_COMMENT
if errorlevel 2 goto SQZ_COMMENT
if errorlevel 1 goto ARJ_COMMENT
Echo ERROR: ARCID critical error! >> c:\arcid\arcid.log
exit
:ARJ_COMMENT
arj c -s1 -y -zc:\arcid\comment.txt %1
if not errorlevel 0 goto ERROR
goto OK
:SQZ_COMMENT
sqz c %1 c:\arcid\comment.txt
if not errorlevel 0 goto ERROR
goto OK
:ZIP_COMMENT
pkzip -k -z < c:\arcid\comment.txt %1
if not errorlevel 0 goto ERROR
goto OK
:OK
exit
:ERROR
Echo ERROR: File failed commenting... >> c:\arcid\arcid.log
exit